<template>
	<view :data-theme="theme()" :class="theme() || ''">
		<view class="succeed">
			<image src="http://ruiyu.oss-cn-hangzhou.aliyuncs.com/image/newSaas/addchenggong.png" mode="aspectFit"></image>
		</view>

		<view class="publish">
			<view class="d-c-c">
				<button class="ww33 m-0-30 butBorbg dominant fb" @click="onWaygo(1)">继续发布</button>
				<button class="ww33 m-0-30 butBorbg dominant fb" @click="onWaygo(2)">返回列表</button>
				<button class="ww33 m-0-30 butBorbg dominant fb" @click="onWaygo(3)">回到首页</button>
			</view>
		</view>
	</view>

</template>

<script>
	export default {

		data() {
			return {

			}
		},
		onLoad(option) {

		},
		onShow() {

		},
		methods: {
			onWaygo(index) {
				switch (index) {
					case 1:
						uni.navigateBack({})
						break;
					case 2:
						uni.navigateBack({
							data: 2
						})
						break;
					default:
						uni.switchTab({
							url: '/pages/index/index'
						})
						break;
				}
			},

		}

	}
</script>

<style lang="scss" scoped>
	page {
		background-color: white;
	}

	.succeed {
		width: 100%;
		height: auto;
		margin-top: 300rpx;

		image {
			width: 128rpx;
			height: 128rpx;
			margin: 0 auto;
			display: block;
		}
	}

	.publish {
		top: 600rpx;
		background: unset;

		.butBorbg {
			background: #FFFFFF;
			border-radius: 10rpx;
			border: 1px solid #CCCCCC;
		}
	}
</style>